
/* Custom checkbox styles */

label + p,
input + p
{
	margin-top: 20px;
}

p > input
{padding: 0;margin: 0;height: 14px;	width: 14px;float: left;position: absolute;	left: 0;	opacity: 0;}
p > label 
{float: left; line-height: 14px; color:#615e5e;	padding: 0 0 0 18px;
	-moz-transition: color 1s ease; 
	-o-transition: color 1s ease; 
	-webkit-transition: color 1s ease; 
	transition: color 1s ease; 
}

p:not(#foo) > input + label:hover, p:not(#foo) > input:focus + label			{ color:#319102; }

p:not(#foo) > input + label
{background: url(../images/checkBox.png) 0 0px no-repeat; height: 14px;}


/* Checked styles */
p:not(#foo) > input[type=checkbox]:checked + label 							{ background-position: 0 0px; }
p:not(#foo) > input[type=checkbox]:hover:checked + label,					{ background-position: 0 0px; }
p:not(#foo) > input[type=checkbox]:focus:checked + label,					{ background-position: 0 0px; }
p:not(#foo) > input[type=checkbox]:checked + label:hover,					{ background-position: 0 0px; }
p:not(#foo) > input[type=checkbox]:focus:checked + label 					{ background-position: 0 0px; }

/* Hover & Focus styles */
p:not(#foo) > input[type=checkbox]:hover + label,
p:not(#foo) > input[type=checkbox]:focus + label,
p:not(#foo) > input[type=checkbox] + label:hover 							{ background-position: 0 -17px;}

/* Active styles */
p:not(#foo) > input[type=checkbox]:active + label,
p:not(#foo) > input[type=checkbox] + label:hover:active						{ background-position: 0 -17px; }
p:not(#foo) > input[type=checkbox]:active:checked + label,
p:not(#foo) > input[type=checkbox]:checked + label:hover:active				{ background-position: 0 0px; }


/* Disabled styles */
p:not(#foo) > input[type=checkbox]:disabled + label,
p:not(#foo) > input[type=checkbox]:hover:disabled + label,
p:not(#foo) > input[type=checkbox]:focus:disabled + label,
p:not(#foo) > input[type=checkbox]:disabled + label:hover,
p:not(#foo) > input[type=checkbox]:disabled + label:hover:active			{ background-position: 0 0px; }


p:not(#foo) > input[type=checkbox]:disabled:checked + label,
p:not(#foo) > input[type=checkbox]:hover:disabled:checked + label,
p:not(#foo) > input[type=checkbox]:focus:disabled:checked + label,
p:not(#foo) > input[type=checkbox]:disabled:checked + label:hover,
p:not(#foo) > input[type=checkbox]:disabled:checked + label:hover:active	{ background-position: 0 0px; }



